# -*- coding: utf-8 -*-
# @Software :   PyCharm
# @File     :   urls.py
# @Author   :   zhaolie
# @Contact  :   zhaolie1989@gmail.com
# @Time     :   2019/11/26 1:30 下午
# @Desc     :   None      

# here put the import lib
from django.urls import path, re_path
from .views import UserInfoView, UploadImageView, UpdatePwdView, MyCourseView, MyFavOrgView, MyFavTeacherView, \
    MyFavCourseView, MyMessageView

urlpatterns = [

    path('info/', UserInfoView.as_view(), name="user_info"),

    path('image/upload/', UploadImageView.as_view(), name="image_upload"),

    path('update/pwd/', UpdatePwdView.as_view(), name="update_pwd"),

    path('mycourse/', MyCourseView.as_view(), name="my_course"),

    path('myfav/org/', MyFavOrgView.as_view(), name="myfav_org"),

    path('myfav/teacher/', MyFavTeacherView.as_view(), name="myfav_teacher"),

    path('myfav/course/', MyFavCourseView.as_view(), name="myfav_course"),

    path('mymessage/', MyMessageView.as_view(), name="mymessage"),

]
